﻿


using XT.Common.Interfaces;

namespace IotServer.Configs;

/// <summary>
/// 远程APi配置
/// </summary>
public class ApiConfig : IApiConfig
{
    public string RemoteApiUrl { get; set; }
    public string OtherUrl { get; set; }
    public string Token { get; set; }

    public event EventHandler AuthorizationFailedEvent;

    public void AuthorizationFailedInvoke()
    {
        AuthorizationFailedEvent?.Invoke(null, null);
    }

    public HttpClient CreateHttpClient()
    {
        throw new NotImplementedException();
    }
}
